package com.cetc.operate.audit.recorder;

import com.cetc.operate.audit.annotation.OperateAudit;

/**
 * 解析审计记录并发送到对应服务器
 *
 * @param <T> 数据传输对象
 */
public interface Recorder<T> {

    T parseParameter(OperateAudit operateAudit, Class<?>[] parameterTypes, Object[] args ,Throwable throwable);

    void save(T logBean);
}
